﻿using System;
using System.Web;
using System.Web.Script.Serialization;
using System.Collections.Generic;

public partial class Topo_InformationUtilizationTop20 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        AjaxPro.Utility.RegisterTypeForAjax(typeof(Topo_InformationUtilizationTop20));
    }
    [AjaxPro.AjaxMethod]
    public List<Model.Topo.InformationUtilization> GetModelList(string top)
    {
        string[,] str = new string[4, 2] { { "p_neid", "string" }, { "p_strwhere", "string" }, { "p_sort", "string" }, { "p_topcount", "int" } };
        string[] v = new string[] {"","", "reservQuotiety+0 desc,rxlev", top };
        BLL.Topo.InformationUtilization n = new BLL.Topo.InformationUtilization();
        List<Model.Topo.InformationUtilization> modelList = n.GetModelList("get_all_tbs_rate", str, v, "LEAF");
        //JavaScriptSerializer jsonSerializer = new JavaScriptSerializer();
        return modelList;// jsonSerializer.Serialize(modelList); 
    }
}